/**
 * @Auto generation code
 * Shi Hui Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, body, loading
 * 订单取消 - POST
 */
export const cancelOrder = async (loading) => {
	return await request.post('/sh-api/cancelOrder', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 创建订单 - POST
 */
export const createOrder = async (loading) => {
	return await request.post('/sh-api/createOrder', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 订单支付 - POST
 */
export const orderPaied = async (loading) => {
	return await request.post('/sh-api/orderPaied', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * 获取可用技师列表 - GET
 */
export const queryAvailableTechnicians = async (loading) => {
	return await request.get('/sh-api/queryAvailableTechnicians', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * 获取可用时间段 - GET
 */
export const queryAvailableTimeslots = async (loading) => {
	return await request.get('/sh-api/queryAvailableTimeslots', {
		
	}, loading)
}

